projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7442009
)
gnomeos-install: don't cd into /ostree prematurely
author
Diego Escalante Urrelo
<diegoe@igalia.com>
Thu, 5 Apr 2012 05:30:20 +0000
(
00:30
-0500)
committer
Colin Walters
<walters@verbum.org>
Thu, 5 Apr 2012 13:05:22 +0000
(09:05 -0400)
The script will die and not proceed with the creation of the directory.
gnomeos/gnomeos-install.sh
patch
|
blob
|
history
diff --git
a/gnomeos/gnomeos-install.sh
b/gnomeos/gnomeos-install.sh
index a0ff854cae7eced0933a18552d18fccf1df6179e..d0d3cff66af5ee9870122344fa6937d6063e8a13 100755
(executable)
--- a/
gnomeos/gnomeos-install.sh
+++ b/
gnomeos/gnomeos-install.sh
@@
-40,14
+40,14
@@
usage () {
ARCH=i686
BRANCH_PREFIX="gnomeos-3.4-${ARCH}-"
-cd /ostree
-
if ! test -d /ostree/repo/objects; then
mkdir -p /ostree
$SRCDIR/gnomeos-setup.sh /ostree
fi
+cd /ostree
+
ostree --repo=repo remote add origin http://ostree.gnome.org/repo ${BRANCH_PREFIX}{runtime,devel}
ostree-pull --repo=repo origin
for branch in runtime devel; do